from machine import Pi,SPI
from lib.ST7735 import TFT

spi = SPI(2, baudrate=20000000, polarity=0, phase=0, sck=Pin(18), mosi=Pin(23))
tft = TFT(spi,16,17,27)

tft.initr()
tft.rgb(True)

# 清屏幕 置为黑色
tft.fill(aColor = TFT.BLACK)
# tft.pixel((30,30),1)

